package com.robinmouren.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单细明表，记录提货时货物信息
 * </p>
 *
 * @author Robinmouren
 * @since 2024-05-12
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *  主键
     */
    private Long id;

    /**
     * 对应订单id
     */
    private Long orderId;
    /**
     * 对应订单id
     */
    private String trackingNumber;
    /**
     * 货物名称
     */
    private String name;

    /**
     * 货物规格
     */
    private String specification;

    /**
     * 货物包装
     */
    private String wraps;

    /**
     * 货物总数量
     */
    private Double quantity;

    /**
     * 货物总重量
     */
    private Double weights;

    /**
     * 货物总体积
     */
    private Double volumes;


}
